XIQS Update Port Group

From IQsimWiki

Jump to: navigation, search

XIQS Update Port Group - Port Group Management

Description

updateXIQSPortGroup ( Long id_portgroup , String group_name [, Integer simultaneous_connections ] )
Since 1.4.0
updateXIQSPortGroup( Long id_portgroup, String group_name[, Integer simultaneous_connections[, Long asralert, Long asrsleep, Long acdalert, Long acdsleep, Long monitorcallnb, Long sleeptime, Long maxsleep [, Long mode, Long country_id, String country_list]]])

Update an existing port group object.
Parameters

Long id_portgroup

Id of the port group object.

String group_name

New name for the port group object. (can be the same as the old one)

Integer simultaneous_connections

New maximal number of simultaneous connections to ports belonging to the updated port group object.

Long asralert

ASR Alert Level.

Long asrsleep

ASR Sleeping Level.

Long acdalert

ACD Alert Level.

Long acdsleep

ACD Sleeping Level.

Long monitorcallnb

Window Monitoring Calls.

Long sleeptime

GSM Port Sleeping Time (min).

Long maxsleep

Deactivate GSM port on successive sleeping.

Long mode

GSM Port Group mode ( 0 - static, 1 - dynamic ).

Long country_id

CountryID (should be 1000 if uses multi country - see parameter country_list.

String country_list

Comma separated list of country ids which creates dynamic port group. 
Return Values
Return Code
Integer: OK = 1


Error Data structure ( Error Management )

Possible failure code returns
*ERR_OBJ_NOT_FOUND (404) ERR_MSG_PGRP_NOT_FOUND
*ERR_UNAUTHORIZED (401) ERR_MSG_OBJ_NOT_OWNED
*ERR_OBJECT_EXISTS (451) ERR_MSG_PGRP_NAME_FOUND
*ERR_SRV_INTERNAL (500) ERR_MSG_NO_DB
See Also

getXIQSPortGroupList

createXIQSPortGroup

deleteXIQSPortGroup

getXIQSPortGroupMapList

mapXIQSPortGroup

unmapXIQSPortGroup

getXIQSDevicePortMap

clearXIQSPortGroupMap

Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List